package com.lieve.servicea.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @author sunlijiang
 * @date 2020/2/29
 */
//@Component
@Slf4j
public class LieveComponent implements InitializingBean {

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("com.lieve.servicea.config.LieveComponent.afterPropertiesSet");
    }

    public LieveComponent() {
        System.out.println("com.lieve.servicea.config.LieveComponent.LieveComponent Constructor");
    }

    public void init() {
        System.out.println("LieveComponent init() method");
    }
}
